package com.swagger.gitee.swagger;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("分页对象")
public class PageItem<T> implements Serializable{
	
	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value = "总记录条数",dataType = "int")
    private  int count;
	
	@ApiModelProperty(value = "偏移开始位置",dataType = "String")
    private  String offset;
	
	@ApiModelProperty(value = "列表内容",dataType = "int")
	private T datalist;

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public String getOffset() {
		return offset;
	}

	public void setOffset(String offset) {
		this.offset = offset;
	}

	public T getDatalist() {
		return datalist;
	}

	public void setDatalist(T datalist) {
		this.datalist = datalist;
	}

 

 
 
	 
}
